#include <stdio.h>
int main() 
{
    int a = 0, b = 0,c = 0,temp = 0,max = 0;
    scanf("%d %d %d",&a,&b,&c);
        temp = a > b ? a : b;
        max = temp > c ? temp : c;
        printf("%d\n", max);
    return 0;
}
